package org.ermannofranco.genericdaojdbc.user.dao;

import net.ermannofranco.genericdaojdbc.dao.AbstractGenericDao;

import org.ermannofranco.genericdaojdbc.user.model.Address;
import org.springframework.transaction.annotation.Transactional;

@Transactional
public class AddressDao extends AbstractGenericDao<Address, Long> implements
		IAddressDao {

	// protected ParameterizedRowMapper<Address> getRowMapper() {
	// return new ParameterizedRowMapper<Address>() {
	//
	// public Address mapRow(ResultSet r, int rn) throws SQLException {
	// Address a = new Address();
	// a.setId(r.getLong("ADDRESS_ID"));
	// a.setAddress(r.getString("ADDRESS"));
	// a.setCity(r.getString("CITY"));
	// return a;
	// }
	//
	// };
	// }
}
